package com.greenleaf.service;

import java.util.List;

import com.greenleaf.entity.OrderDetail;
import com.greenleaf.entity.SearchCon;

public interface OrderDetailService {
	/**
	 * 根据订单查询所有订单详情
	 */
	public List<OrderDetail> getAllOrderDetail(SearchCon searchCon);
	/**
	 * 向购物车添加商品
	 */
	public int addOrderDetail(OrderDetail orderDetail);
	/**
	 * 根据订单查询所有订单详情总数
	 */
	public int getTotalOrderDetail(SearchCon searchCon);
	
	
}
